import { formRefType, userInfoFace } from "../utils/types";

export const useFormHook = () => {
    const resetForm = (formEl: formRefType) => {
        if (!formEl) return;
        formEl.resetFields()
    }
    return {
        resetForm
    }
}